package thermologic.onewire;

import thermologic.core.*;

/**
 * The device delegate is used by the Adapter
 * for retrieve and write the device data and configuration.  
 * 
 * @author Mauricio
 */
public interface DeviceDelegate
{
    /**
     * Gets a device 
     * 
     * @param params
     * @return a Device object
     */
    public Device getDevice(Object... params);
    
    /**
     * Sets up a device 
     * 
     * @param device
     */
    public void setupDevice(Device device);
}
